﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DTO;
using DAO;


namespace BUS
{
    public class PhanQuyenBUS
    {
        PhanQuyenDAO cls = new PhanQuyenDAO();
        //Load dữ liệu
        public DataTable Load_PhanQuyen()
        {
            return cls.Load_PhanQuyen();
        }
        //insert du lieu
        public void IsUp_PhanQuyen(PhanQuyenDTO p, Boolean flag)
        {
            cls.IsUp_PhanQuyen(p, flag);
        }
        //Del du lieu
        public void Del_PhanQuyen(PhanQuyenDTO p)
        {
            cls.Del_PhanQuyen(p);

        }
        //lay Ma Quyen
        public DataTable MQ()
        {
            return cls.MQ();
        }
        //lay Ma Nhom Nguoi Dung
        public DataTable MNND()
        {
            return cls.MNND();
        }
        //Lay Ma Nhan Vien
        public DataTable MNV()
        {
            return cls.MNV();
        }
        
    }
}
